﻿using B.S.Material.ErrorCode;
using MediatR;

namespace B.S.Material.Wirth.Api.Applications.Command.MaterialsChildCommand
{
    public class AddMaterialsChildCommand : IRequest<ApiResult<object>>
    {


        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductNamess { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCodess { get; set; }

        /// <summary>
        ///规格型号
        /// </summary>
        public string SpecificationModelss { get; set; }

        /// <summary>
        ///单位
        /// </summary>
        public string Unitss { get; set; }
        /// <summary>
        /// 产品比例
        /// </summary>
        public Decimal ProductRatio { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantityss { get; set; }
        /// <summary>
        /// 产品角色
        /// </summary>
        public string ProductRoless { get; set; }
        /// <summary>
        ///工艺流程
        /// </summary>
        public string ProcessFlowss { get; set; }
        /// <summary>
        /// 耗损率(%)
        /// </summary>
        public Decimal LossRatess { get; set; }
        /// <summary>
        /// 领料方式
        /// </summary>
        public string PickupMethod { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        ///// <summary>
        ///// 物料管理主键
        ///// </summary>
        //public int? id { get; set; } 
        //[ForeignKey("BOMID")]
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDel { get; set; }


    }
}
